import request from '@/utils/request'

// 物料列表
export function adminLists(params: any) {
    return request.get({ url: '/material.product/lists', params })
}
// 物料列表
export function adminListsing(params: any) {
    return request.get({ url: '/material.product/lists', params })
}
// 从属设备
export function adminAll(params: any) {
    return request.get({ url: '/material.product/all', params })
}
// 物料添加
export function adminAdd(params: any) {
    return request.post({ url: '/material.product/add', params })
}
// 物料编辑
export function adminEdit(params: any) {
    return request.post({ url: '/material.product/edit', params })
}

// 物料删除
export function adminDelete(params: any) {
    return request.post({ url: '/material.product/delete', params })
}
// 数据字典
export function adminlistAll(params: any) {
    return request.post({ url: '/setting.dict.DictType/listAll', params })
}
// 详情
export function admindetail(params: any) {
    return request.post({ url: '/material.product/detail', params })
}
